[package]
name            = "disktest"
description     = "Tester for Solid State Disks, Non-Volatile Memory Storage, Hard Disks, USB Sticks, SD-Cards, etc.."
version         = "1.12.0"
homepage        = "https://bues.ch/h/disktest"
repository      = "https://github.com/mbuesch/disktest"
license         = "GPL-2.0-or-later"
readme          = "README.md"
authors         = ["Michael Büsch <m@bues.ch>"]

categories      = ["command-line-utilities", "filesystem", "hardware-support"]
keywords        = ["disk", "HDD", "SSD", "flash", "SD-card"]

exclude         = ["/maintenance/", "/testfile*"]

edition         = "2021"

[dependencies]
anyhow          = "1.0.0"
clap            = "4.0.0"
crc             = "1.0.0"
libc            = "0.2.0"
movavg          = "2.0.0"
rand            = "0.8.0"
rand_chacha     = "0.3.0"
regex           = "1.7.0"
ring            = "0.17.0"
signal-hook     = "0.3.0"
tempfile        = "3.0.0"

[target.'cfg(target_os="windows")'.dependencies]
winapi          = { version = "0.3.0", features = ["std", "impl-default", "minwindef", "ntdef", "winerror", "errhandlingapi", "fileapi", "handleapi", "ioapiset", "winbase", "winnt", "winioctl"] }

[profile.dev]
lto             = "thin"
opt-level       = 2

[profile.release]
lto             = "thin"

[profile.test]
lto             = "thin"
opt-level       = 2

[profile.bench]
lto             = "thin"

# vim: ts=4 sw=4 expandtab
